import Vue from "vue";
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router = new VueRouter({
    mode:'hash',
    routes:[
        {
            path:'/yibiaopan',
            component:()=>import('../view/yibiaopan.vue')
        },
        {
            path:'/richengbiao',
            component:()=>import('../view/richengbiao.vue')
        },
        {
            path:'/xiaoxi',
            component:()=>import('../view/xiaoxi.vue')
        },
        {
            path:'/kecheng',
            component:()=>import('../view/kecheng.vue')
        },
        {
            path:'/shujv',
            component:()=>import('../view/shyjv.vue')
        },
        {
            path:'/pingjia',
            component:()=>import('../view/pingjia.vue')
        },
        {
            path:'/zhanghu',
            component:()=>import('../view/zhanghu.vue')
        },
        {
            path:'/',
            redirect:'pingjia'
        },
    ]
})
export default router